Return to doc.sitecore.com

5.  Uninstalling the Module
Prev

The instructions below describe how to uninstall the LDAP module from the CMS server. 

Undoing the configuration steps 

  1. Remove these two fields from the /sitecore/shell/security templates.xml file:
     
    <field id="{2fc94eac-b89b-471c-a02b-a2e0c3f0d7f1}" name="Fromldap" icon="" shared="1" sortorder="" source="" type="checkbox" unversioned="1" />
    <field id="{12839728-64a7-4f60-b172-30e83fd5a34a}" name="Directoryname" icon="" shared="1" sortorder="" source="" type="text" unversioned="1" />
       
  2. Open the web.config file and revert back the type reference for the domains:
     
    <domain id="sitecore" singleInstance="true" type="Sitecore.SecurityModel.Domain, Sitecore.Kernel">
    and
    <domain id="extranet" singleInstance="true" type="Sitecore.SecurityModel.Domain, Sitecore.Kernel">  

Removing the files

  1. Delete the ldapmodule.dll file from the bin directory.
     
  2. Delete the “data\modules” directory.
     
  3. Delete the “login\default.html" page.
     
  4. Delete the following static resources:
     
    \sitecore\shell\themes\standard\applications\16x16\ldap16x16.gif
    \sitecore\shell\themes\standard\applications\32x32\ldap32x32.gif
    \sitecore\shell\themes\standard\applications\48x48\ldap48x48.gif
      
  5. Delete the “\sitecore modules\shell\ldap” directory.
     
  6. Remove the following user controls:
     
    \sitecore modules\web\ldap_domainextranetlogin.ascx
    \sitecore modules\web\ldap_domainextranetlogin.ascx.cs
    \sitecore modules\web\ldap_domainextranetlogin.ascx.resx
    \sitecore modules\web\ldap_extranetlogin.ascx
    \sitecore modules\web\ldap_extranetlogin.ascx.cs
    \sitecore modules\web\ldap_extranetlogin.ascx.resx 

Deleting the Items

  1. Core database
     
    \sitecore\content\Applications\LDAP
    \sitecore\content\Documents and settings\All users\Start menu\Left\LDAP
    \sitecore\content\Documents and settings\All users\Start menu\Programs\Security\LDAP
    \sitecore\content\Documents and settings\All users\Start menu\Right\Administrative Tools\LDAP
      
  2. Master database (order matters):
     
    \sitecore\system\Modules\LDAP
    \sitecore\system\Tasks\Commands\ldapCommand
    \sitecore\system\Tasks\Schedules\ldapScheduleTask
    \sitecore\templates\System\Modules\LDAP

Prev